package com.jiyun.pojo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class OrderComplaint {
    //主键ID
    private String id;
    //订单编号(与订单表关联)
    private String orderId;
    //司机ID(外键)
    private String driverId;
    //基本投诉(1物品遗失,2司机绕路,3费用错误,4下车未结束计算,5未坐车却收费,6司机态度差,7车辆太脏,8其他)
    private String complaint;
    //投诉的补充说明
    private String complaintDetails;
    //反馈状态(1处理中,2已处理)
    private String complaintStatus;
    //司机申诉状态(1可申诉,2申诉中,3申诉通过,4申诉未通关)
    private String driverAppealStatus;
    //司机申诉描述
    private String driverAppealDescribe;
    //司机申诉图片
    private String driverAppealImages;
    //乘客处理结果
    private String userResult;
    //司机处理结果
    private String driverResult;
    //投诉时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date complaintTime;
    //处理时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date resultTime;

}
